package com.didispace.chapter56.service;

import com.didispace.chapter56.domain.User;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface UserService {

    User login(String name, String password);

    User update(User user);
}
